package com.universest.swordholder.network

import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit

const val AI_HTTP_CONNECT_TIMEOUT = 300L

const val AI_HTTP_READ_TIMEOUT = 300L

const val AI_HTTP_WRITE_TIMEOUT = 300L

val aiHttpClient:OkHttpClient = OkHttpClient.Builder()
    .connectTimeout(AI_HTTP_CONNECT_TIMEOUT, TimeUnit.SECONDS)
    .readTimeout(AI_HTTP_READ_TIMEOUT, TimeUnit.SECONDS)
    .writeTimeout(AI_HTTP_WRITE_TIMEOUT, TimeUnit.SECONDS)
    .build()